<template>
  <div>
<wv-group title="物品描述">
  <wv-textarea placeholder="请输入物品详细描述" :rows="3"  :max-length="100" v-bind:value="descValue" v-model="descValue"></wv-textarea>
</wv-group>
  </div>
</template>

<script>
import { Textarea } from 'we-vue'
export default {
  name: 'Descs',
  components: {
    Textarea
  },
  data () {
    return {
      descValue: this.$store.state.descValue
    }
  },
  watch: {
    descValue (val, oldval) {
      this.$store.commit('changeVal', val)
    }
  }
}
</script>

<style>

</style>
